import _ from 'lodash'
import moment from 'moment'
import { message } from 'antd'
import { reg } from '@/utils'

const formItemLayout = {
  labelCol: { span: 6 },
  wrapperCol: { span: 24 },
  style: {
    marginBottom: 12
  }
};

const ColConfig = {
  span: 24
}

export const formEditConditions = [
  {
    inputType: 'select',
    title: 'subjectCode',
    label: '同步主体',
    itemConfig: {
      rules: [
        {
          required: true, message: '请选择同步主体'
        },
      ]
    },
    componentsConfig: {
      placeholder: '请选择',
    },
    formItemLayout,
    ColConfig,
  },
]